package com.euond.permission.service;

import com.euond.common.core.service.BaseService;
import com.euond.permission.dto.UserRoleResourceDto;
import com.euond.permission.entities.Role;
import org.springframework.boot.autoconfigure.security.SecurityProperties;

import java.util.List;


/**
 * Created by Daniel on 18/06/2017.
 * Role Service
 */
public interface RoleService extends BaseService<Role> {

    /**
     * 按角色批量增加用户角色、角色资源关系
     * @param userRoleResourceDto
     * @return
     */
    void addUserRoleResource(UserRoleResourceDto userRoleResourceDto);
}
